/**
 * 
 */
package networking.answerers;

import java.io.PrintStream;

/**
 * Cette classe gère l'envoie au plugin chrome des messages d'erreur.
 * @author simon
 *
 */
public class ServerErrorAnswerer {
	
	public static String generate(int id, String message) {
		
		return "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><response type=\"error\"><error errorId='"+id+"'>"+message+"</error></response>" ;
		
	}
	
}
